package com.bzkj.basicinfo.domain.inspect;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class WmsInspectTaskEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String taskNo;
    private Long receiveOrderId;
    private String receiveOrderNo;
    private String stoId;
    private String inspectType;
    private BigDecimal inspectRate;
    private String taskStatus;
    private Integer priority;
    private String assignedUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date assignTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date completeTime;

    private Integer totalLines;
    private Integer inspectedLines;
    private BigDecimal totalQuantity;
    private BigDecimal inspectedQuantity;
    private BigDecimal qualifiedQuantity;
    private BigDecimal unqualifiedQuantity;
    private String remark;
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
